-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix creation performance of form element menuparent, (slow down in menu item edit form, for item that belongs to large menu) #11628
Conversation
1 more optimization, replaced unneeded For reasoning behind the above,
please see my comment here for similar fix in : which was followed by @alikon making a similar PR, that was tested and merged, see here: (and there maybe 1 or 2 more places that need similar changes) |
Needs to be checked on all databases On 16 August 2016 at 12:05, Georgios Papadakis notifications@github.com
Brian Teeman |
@alikon can you help with this, please? |
in postgresql don't work as it is now , it give an SQL ERROR @ggppdk i've submitted a PR ggppdk#2 to your branch with the fix for postgresql @jeckodevelopment always happy to help when free time permits ;) |
in postgresql don't work as it is now , it give an **SQL ERROR** for the `ORDER BY` clause field used `a.lft` must be in the select list of fields when the `SELECT` use `DISTINCT()`
@alikon |
@ggppdk thanks, p.s. |
@alikon you're our DB expert :) thank you |
ok but nothing significant to further improve performance these 2 changes are enough to fix the performance issue, on large menu (with a few thousands of menu items)
|
I have tested this item ✅ successfully on 2972851 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11628. |
1 similar comment
I have tested this item ✅ successfully on 2972851 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11628. |
can we have RTC here? |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11628. |
…nu item edit form, for item that belongs to large menu) (joomla#11628) * Remove unused left join in getOptions for menuparent form element * Replaced unneeded group by with distinct * fix joomla#11628 for postgresql (#2) in postgresql don't work as it is now , it give an **SQL ERROR** for the `ORDER BY` clause field used `a.lft` must be in the select list of fields when the `SELECT` use `DISTINCT()`
…areable-draft-content * origin/shareable-draft-content: (245 commits) Implement shareable draft links Cleaned up shared drafts view Added front-end token generarion Implement shared drafts view Remove obsolete file use only root (joomla#11703) com_search category results not displaying date (joomla#11802) warnings and errors, not notices ... (joomla#11801) [installation] Add javascript message titles and ajax errors strings (joomla#11800) Regression: Normalising head links and correcting hreflang for menu items associations (joomla#11769) Refactor allowEdit of backend category controller (joomla#11547) [com_contact] Move event trigger to correct place (joomla#11719) Improve the accessibility of the top menu in ISIS part 2 (joomla#11729) Show file extension (joomla#11776) change button -> a for the modal close button (joomla#11787) Small Grammar change (joomla#11788) Change message type to error when download of update package fails (joomla#11791) these are warnings not messages ... (joomla#11799) [plg_content_vote|pagebreak] Load language files only when needed (joomla#11730) [plg_system_stats] Load plugin language files only when needed (joomla#11728) Fix creation performance of form element menuparent, (slow down in menu item edit form, for item that belongs to large menu) (joomla#11628) ... # Conflicts: # administrator/components/com_admin/script.php # administrator/components/com_content/models/shared.php # administrator/components/com_content/views/shared/tmpl/default.php # administrator/language/en-GB/en-GB.xml # administrator/language/en-GB/install.xml # administrator/manifests/files/joomla.xml # administrator/manifests/packages/pkg_en-GB.xml # installation/language/en-GB/en-GB.xml # language/en-GB/en-GB.xml # language/en-GB/install.xml # libraries/cms/pagination/pagination.php # libraries/cms/version/version.php # libraries/joomla/authentication/authentication.php # libraries/joomla/form/fields/color.php # libraries/joomla/form/fields/email.php # media/system/js/share-uncompressed.js # media/system/js/share.js # plugins/content/vote/vote.php
Fix creation performance of form element menuparent
Summary of Changes
Remove unused left join in getOptions for menuparent form element
No reason because for it being there because
Testing Instructions
Visit menu item edit form and, check parent menuitem form field is as before
Documentation Changes Required